﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.OleDb;
using DAO;
namespace BUS
{
    public class CTHoaDonBUS
    {
        public static OleDbDataAdapter LayTatCaCTHoaDon(int MaHD)
        {
            DAO.CTHoaDonDAO ct=new CTHoaDonDAO();
            return ct.LayTatCaCTHoaDon(MaHD);
        }
        public static double TongTienHoaDon(int MaHD)
        {
            DAO.CTHoaDonDAO ct=new CTHoaDonDAO();
            return ct.TongTien(MaHD);
        }
        public static int TongCV(int MaHD)
        {
            DAO.CTHoaDonDAO ct = new CTHoaDonDAO();
            return ct.TongCV(MaHD);
        }
    }
}
